how to use string functions